﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="DownloadReviewTeamsDocumentsScreen.aspx.cs" Inherits="METU_CMT.DownloadReviewTeamsDocumentsScreen" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView runat="server" ID="dtgDocuments" AutoGenerateColumns="false" ShowHeaderWhenEmpty="true" CssClass="chp-grid" style="font-size: 15px; margin-left: 200px; margin-top:50px;">
        <Columns>
            <asp:BoundField DataField="TeamName" HeaderText="Team Name" />
            <asp:BoundField DataField="Description" HeaderText="Document Name" />
            <asp:TemplateField HeaderText="Document Name">
                <ItemTemplate>
                    <asp:LinkButton runat="server" ID="lnkBtnDownload" OnClick="OnLnkBtnDownloadClicked"
                        Text='<%# Bind("DocumentName") %>'></asp:LinkButton>
                    <asp:HiddenField Value='<%# Bind( "TeamId" ) %>' runat="server" ID="hfId" />
                    <asp:HiddenField Value='<%# Bind( "EventId" ) %>' runat="server" ID="hfEventId" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="UploadTime" HeaderText="Upload Time" />
        </Columns>
    </asp:GridView>
    <asp:LinkButton runat="server" ID="lnkBtnDownload" OnClick="OnlnkBtnDownloadAllDocumentsClicked"></asp:LinkButton>
</asp:Content>
